package com.kmzx.one.project.events;

import java.math.BigDecimal;

public class SelfAndUpEvent {

    private String selfUserId;

    private String selfRankId;

    private BigDecimal selfRankMoney;

    private int selfRankNo;

    private String upUserId;

    private String upRankId;

    private int upRankNo;

    private BigDecimal upRankMoney;

    public SelfAndUpEvent() {
    }

    public SelfAndUpEvent(String selfUserId, String upUserId) {
        this.selfUserId = selfUserId;
        this.upUserId = upUserId;
    }

    public String getSelfUserId() {
        return selfUserId;
    }

    public SelfAndUpEvent setSelfUserId(String selfUserId) {
        this.selfUserId = selfUserId;
        return this;
    }

    public String getSelfRankId() {
        return selfRankId;
    }

    public SelfAndUpEvent setSelfRankId(String selfRankId) {
        this.selfRankId = selfRankId;
        return this;
    }

    public int getSelfRankNo() {
        return selfRankNo;
    }

    public SelfAndUpEvent setSelfRankNo(int selfRankNo) {
        this.selfRankNo = selfRankNo;
        return this;
    }

    public String getUpUserId() {
        return upUserId;
    }

    public SelfAndUpEvent setUpUserId(String upUserId) {
        this.upUserId = upUserId;
        return this;
    }

    public String getUpRankId() {
        return upRankId;
    }

    public SelfAndUpEvent setUpRankId(String upRankId) {
        this.upRankId = upRankId;
        return this;
    }

    public int getUpRankNo() {
        return upRankNo;
    }

    public SelfAndUpEvent setUpRankNo(int upRankNo) {
        this.upRankNo = upRankNo;
        return this;
    }

    public BigDecimal getSelfRankMoney() {
        return selfRankMoney;
    }

    public SelfAndUpEvent setSelfRankMoney(BigDecimal selfRankMoney) {
        this.selfRankMoney = selfRankMoney;
        return this;
    }

    public BigDecimal getUpRankMoney() {
        return upRankMoney;
    }

    public SelfAndUpEvent setUpRankMoney(BigDecimal upRankMoney) {
        this.upRankMoney = upRankMoney;
        return this;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SelfAndUpEvent{");
        sb.append("selfUserId='").append(selfUserId).append('\'');
        sb.append(", selfRankId='").append(selfRankId).append('\'');
        sb.append(", selfRankMoney=").append(selfRankMoney);
        sb.append(", selfRankNo=").append(selfRankNo);
        sb.append(", upUserId='").append(upUserId).append('\'');
        sb.append(", upRankId='").append(upRankId).append('\'');
        sb.append(", upRankNo=").append(upRankNo);
        sb.append(", upRankMoney=").append(upRankMoney);
        sb.append('}');
        return sb.toString();
    }
}
